package com.xnyzc.lhy.order.entity.system;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
*
* 订单调度记录
*
* @author cuixiaojian
* @since 2019-12-05
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("oa_sys_order_dispatch_record")
@ApiModel(value="OaSysOrderDispatchRecord对象", description="订单调度记录")
public class OaSysOrderDispatchRecord implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单编号")
    @TableId(value="order_no", type = IdType.INPUT)
    private String orderNo;

    @ApiModelProperty(value = "滴滴订单编号")
    private String didiOrderNo;

    @ApiModelProperty(value = "咨询费用时间")
    private Long inquiryFeeTime;

    @ApiModelProperty(value = "预调度寻找司机队列时间戳")
    private Long queryDriverListTime;

    @ApiModelProperty(value = "预调度获取可调度司机队列时间戳")
    private Long queryDispatchDriverListTime;

    @ApiModelProperty(value = "乘客发单时间戳")
    private Long userCreateTime;

    @ApiModelProperty(value = "启动最终调度时间")
    private Long startFinalDispatchTime;

    @ApiModelProperty(value = "举手时间")
    private Long raiseHandsTime;

    @ApiModelProperty(value = "订单起点经度")
    private String orderStartLng;

    @ApiModelProperty(value = "订单起点纬度")
    private String orderStartLat;

    @ApiModelProperty(value = "版本号")
    @Version
    private Long version;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "用户来源")
    private String tag;


    public static final String ORDER_NO = "order_no";

    public static final String DIDI_ORDER_NO = "didi_order_no";

    public static final String INQUIRY_FEE_TIME = "inquiry_fee_time";

    public static final String QUERY_DRIVER_LIST_TIME = "query_driver_list_time";

    public static final String QUERY_DISPATCH_DRIVER_LIST_TIME = "query_dispatch_driver_list_time";

    public static final String USER_CREATE_TIME = "user_create_time";

    public static final String START_FINAL_DISPATCH_TIME = "start_final_dispatch_time";

    public static final String RAISE_HANDS_TIME = "raise_hands_time";

    public static final String ORDER_START_LNG = "order_start_lng";

    public static final String ORDER_START_LAT = "order_start_lat";

    public static final String VERSION = "version";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

    public static final String TAG = "tag";

}
